gempy.core.data.StructuralElement

class gempy.core.data.StructuralElement(name: str, surface_points: SurfacePointsTable, orientations: OrientationsTable, id: int | None = -1, is_active: bool | None = True, color: str | None = None)[source]

Class that represents a structural element in a geological model.

Examples using gempy.core.data.StructuralElement

1.1 -Basics of geological modeling with GemPy

1.1 -Basics of geological modeling with GemPy

Methods

__init__(name, surface_points, orientations)

Attributes

color

edges

The edges of the element in 3D space.

has_data

id

index

is_basement

number_of_orientations

number_of_points

scalar_field

The scalar field value for the element.

structural_group

vertices

The vertices of the element in 3D space.

name

The name of the structural element.

is_active

The active state of the structural element.

surface_points

The points on the surface of the structural element.

orientations

The orientations of the structural element.

vertices: ndarray | None = None

The vertices of the element in 3D space.

edges: ndarray | None = None

The edges of the element in 3D space.

scalar_field: float | None = None

The scalar field value for the element.

__init__(name: str, surface_points: SurfacePointsTable, orientations: OrientationsTable, id: int | None = -1, is_active: bool | None = True, color: str | None = None)[source]
name: str

The name of the structural element.

surface_points: SurfacePointsTable

The points on the surface of the structural element.

orientations: OrientationsTable

The orientations of the structural element.

is_active: bool

The active state of the structural element.